package vcp.client.request;

import org.joda.time.DateTime;

import vcp.entity.Subscription;
import vcp.enums.RequestType;
/**
 * <p> regular customer check in request class </p>
 * @author VCP team
 *
 */
public class CustomerRegularCheckInRequest extends Request
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1958096381361424439L;

	private final DateTime estimatedLeaveDate;
	/**
	 * getter
	 * @return estimated leave time
	 */
	public DateTime getEstimatedLeaveDate ()
	{
		return this.estimatedLeaveDate;
	}

	private final String email;
	/**
	 * getter
	 * @return email
	 */
	public String getEmail ()
	{
		return this.email;
	}

	private final Subscription subscription;
	/**
	 * getter
	 * @return subscription
	 */
	public Subscription getSubscription ()
	{
		return this.subscription;
	}
	/**
	 * constructor
	 * @param subscription
	 * @param email
	 * @param date
	 */
	public CustomerRegularCheckInRequest ( Subscription subscription, String email,  DateTime date )
	{
		super(RequestType.CUSTOMER_REGULAR_CHECK_IN);
		this.estimatedLeaveDate = date;
		this.email = email;
		this.subscription = subscription;
	}

}
